package cn.eonshine.cuba.inf.modular.log.mapper;

import java.util.Date;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.eonshine.cuba.inf.modular.log.entity.Log;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Alan
 * @since 2018-08-11
 */
public interface LogMapper extends BaseMapper<Log> {

	public int deleteByKeeyDays(@Param("keepDay") Date keepDay);
	
	public IPage<Log> selectCleanLogList(Page<Log> page,@Param("keepDay") Date keepDay);
}
